package com.xinzhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinzhi.utils.Result;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
//import com.xinzhi.domain.entity.Applicant;
import com.xinzhi.domain.Applicant;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com.xinzhi.domain.Applicant
 */
@Repository
public interface ApplicantMapper extends BaseMapper<Applicant> {

    int updatepass (@Param("applicantId") Integer applicantId, @Param("pass") Integer pass);

    int updateRemoveInt(@Param("applicantId") Integer applicantId,@Param("remove") Integer remove);

    int inapplicant(Applicant applicant);

    List<Applicant> selectBypass (Integer pass);//没通过的全部信息

    List<Applicant> selectBypass1 (Integer pass);//通过的全部信息

    /**
     * 展示所有自提点
     * @return
     */
    List<Applicant> showPoint();

    Applicant getById(int id);


}






